package com.jeebey.mybatis.dialect.impl;

import com.jeebey.mybatis.dialect.IDialect;

public class SqliteDialect implements IDialect {

	public String createPagingSql(String sql, int offset, int size) {
		String _sql_format = "%s limit %d offset %d";
		return String.format(_sql_format, sql, size, offset);
	}

	public String createIdentitySql() {
		return "";
	}
	
	@Override
	public String createClearCacheSql() {
		return "SELECT 1";
	}
}